package com.qidian.buy.cms.service;

import com.qidian.buy.entity.ContentCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.buy.util.pojo.BuyResult;

/**
 * <p>
 * 内容分类 服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2023-07-05
 */
public interface IContentCategoryService extends IService<ContentCategory> {
    BuyResult queryByParentId(Long parentId);
    BuyResult saveCat(ContentCategory cat);
    BuyResult queryById(Long catId);
    BuyResult updateCat(ContentCategory cat);
    BuyResult deleteCat(Long catId);
}
